package models

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Username string `gorm:"type:varchar(30)"`
	Password string `gorm:"type:varchar(32)"`
}
type Shop struct {
	gorm.Model
	Name    string `gorm:"type:varchar(30);comment:店铺名称"`
	Desc    string `gorm:"type:varchar(30);comment:店铺简介"`
	Address string `gorm:"type:varchar(300);comment:店铺地址"`
}
